package com.zhongxia.mapper;

import com.zhongxia.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: 废柴弟弟
 * @Date: 2020/3/4 8:55
 */
public interface MenuMapper {
    public List<Menu> findAll(int index, int limit);
    public int count();
    public Menu findById(int id);
    public void save(Menu menu);
    public void update(Menu menu);
    public void deleteById(int id);
}
